﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessPlatform.Data;

namespace BusinessPlatformTool.BusinessObjectStructure
{
    internal class Table : ITable
    {
        private IFields _fields;
        public bool IsPrimary { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public EnumBusinessObjectType Type { get; set; }
        public string ClassName { get; set; }
        public IFields Lines
        {
            get
            {
                return _fields;
            }
        }
        public Table()
        {
            _fields = new Fields();
        }        
    }
}
